package com.L.yygh.cmn.service;

import com.L.yygh.common.result.Result;
import com.L.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface DictService extends IService<Dict> {
    public List<Dict> findChildDictData(Long id);

    void exportDictExcel(HttpServletResponse response);

    void importDictExcel(MultipartFile file) throws IOException;

    String getDictName(String s, String value);

    List<Dict> findByDictCode(String dictCode);
}
